package com.travel.bhelp.common.constant;

public class AppConstants {
    // 响应状态码
    public static final int SUCCESS_CODE = 200;
    public static final int BAD_REQUEST_CODE = 400;
    public static final int UNAUTHORIZED_CODE = 401;
    public static final int FORBIDDEN_CODE = 403;
    public static final int NOT_FOUND_CODE = 404;
    public static final int INTERNAL_ERROR_CODE = 500;

    // 业务状态码
    public static final int USER_NOT_EXIST = 1001;
    public static final int PASSWORD_ERROR = 1002;
    public static final int USER_DISABLED = 1003;

    // Nacos配置
    public static final String NACOS_GROUP = "DEFAULT_GROUP";
    public static final String NACOS_NAMESPACE = "public";
    public static final String NACOS_SERVER_ADDR = "http://127.0.0.1:8848";

    // 位置更新间隔(秒)
    public static final int LOCATION_UPDATE_INTERVAL = 5;
}
